package com.sign2024.sign2024project.test;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 料箱表
 *
 * @author yujie
 * @data 2024/12/24 16:14
 */
@Data
@HeadRowHeight(value = 30) // 头部行高
@ContentRowHeight(value = 30) // 内容行高
@ColumnWidth(value = 20) // 列宽, 可以作用在类或字段上
public class Box {


    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 料箱编码
     */
    @ExcelProperty(value = "容器编码")
    private String boxMark;

    /**
     * 绑定样品ID
     */
    @ExcelIgnore
    private Integer samId;

    /**
     * 存储区ID
     */
    @ExcelIgnore
    private Integer storeAreaId;

    /**
     * 存储货位编号
     */
    @ExcelProperty(value = "库位类型")
    private String cellMark;

    /**
     * AMR任务ID
     */
    @ExcelIgnore
    private String amrMissionId;
}
